Changed login system to go back to current page