Getting RemoteUser not correctly used