added remove user function.