added a callback function to facebook login to redirect to the main page ('/') with 302 status