Removed insecure and check that only logged in users able to write blog