added application helper for testing
completed user model