The graph api for a facebook users profile image is failing, resulting in the resource promise not being successful and the homepage redirect not kicking in. Added error handling to control this.