Do something if logged in.