added ability to override login redirect to prehead template
added some functionality to fbapi class, but query to get user fbid is not working locally