all login, registration and current user logic is working like a mofo