Redirect the user to the last link after login through Gmail or Facebook. As most of the times its seen that user is redirected to member.php after login instead of redirected to his last location because of which user got lost to his/her page which he was onto.