After login, redirect the user to the previous page they were on