Login view refactoring, base notifications view created with common functionality of this views.