added current_user and logged_in methods