add front end model. work on authentication test helper.