Added check to see if user that logged in is administrator.