remove warnings, not working redirection to front page, do not display the content on front page, remove closing php tags