Fixed Incorrect Redirect After Login