Added Redirect Logic to Sign In Page