Login and logout now goes back to original page