Basic login with registration working