fix method login into class User