fix sql bug, add/delete friend!!