Updated LoginView class with callbacks and proper behaviour
Tested now