Added friends filed on user table
Changed some sql statements