with login & registration working