fix user creation on login

also fix stub user creation and remove redirect to chat page after login