Added redirect after successful login