Register fix

Was reloading login the whole time