Moving header/footer to resources and adding initial 'callback' target for OAuth handling.