reduce complexity of the method
authenticate user on account page
no need in variable
remove unused views