fix user id access

Method `getUser()` does not exist but `getCurrentUser()` does.