initial commit
initial commit
added function to check if currently logged in user is an admin
modified delete function to use Model function