Added deletion of user to api and front end