Updated OAuth for Facebook and added events and handlers