add login and register activity