first working login and maybe registration