Implemented cookie setting for error/successmessages
Started implementing remove_friend
fixed old path