resolved bugs around auth and bookmarking a url