added basic user verification for performing actions