updated redirect after successful login