fix password encryption in rake file for devise
added attr_access in friendship.rb and user.rb and changed .image to user_image in friendship view