removing exception when using the user object