implemented patient register, patient login, add user, and user login