delete user and added ui funtionality