refactoring current_user using session_storage