Added exit() after redirecting using header(...)