Implement session.current_user logic