added redirect upon login