added login user logic, first views of every user, logout user