added tests and move delete user feature to users page