working on redirect after login