login will now redirect back to same page that login was made from

fixed bug with xml cache