public User findContact(String UserID) throws ProfileExceptions{
        if (UserID == null || UserID.isEmpty()) throw new ProfileExceptions(ProfileExceptionType.UserIdEmptyName);
        else {
            for(User contact : this.contacts){
            if(contact.getUserId().equals(UserID))
                return contact;
            }
        }
        return null;
    }