formatting User model