Implementing removeContact function in user class