[feature/session-storage] Move two user functions from storage -> user

PHPBB3-9733