Added unique index in both credit card and addresses for nicknames and user id combination
fixed error handling in credit card and address insertion, we do not manually check if there is the same (nickname,userID) in the table