Added php to login, register new users, and create patient profile