Add redirect if not logged in
Updated for validation
Style fix
Add favicon
Fix SQL code issue with posts showing multiple times