def get_current_user(self): """AJAX request to get the current user details""" user = cousers.get_current_user() self.response.out.write(cousers.to_json(user))