fixed user.is_authenicated call