Register fixes and first steps in login