working validation and reroute for getusers on admin page