Add tests for current_user and return None if unavailable
Improve docs