Started legalpad theme, added error check for csrf token