After login, header() redirect does not work in PHP.