integrate user login into the signup method