add sql file, add classes and templates for auth