checks for password and login, resize and login/changeUserData