added options page, fixed background page and script to handle auth.