[Proposal][Auth] Retrieve the current user id stored in session

Hi,

It would be usefull to retrieve the user id stored in session without call "user" method which requires a sql query.

Thanks