added new functions to AdminController, made a sample form allowing insertion of assets into the database