More exception handling for the case where request object does not have user attribute