integrated login and registration