Login register fixes