added user model tests and adding in viewport for mobile