Only clear cache when necessary

Return current user id without clearing cache if given id is the same