Make user model accesseble for AngularJS