fixed login so remembers page you were going to