Added verification that user logging in is an admin