integrating login & register2