better login
check if logged in
3.2.0