inject logged_in