fixing issue where User model must be in global namespace addresses #5