Added php post methods for the login and register modal, to change determination path just edit the form tag param action in line 61 and 97.
Initial Commit