adding login and register
integrating login & register