Changed redirection method to php header.