Deleted admin functions out of user views