Redirect tot he correct page