Fixed dashboard redirect on login