updated ApplicationsController to permit assignment of name attributes