writed the login view
writed the login/logout views and added the apps for management and user, also refactored some templates