Adds missing end in ApplicationHelper#facebook_login
Prefers new_petition variable so as not to overwrite the petition input
Sets session[:last_visited] to nil upon logout