fixed bugs, added routes for accepting offers