registration and sqlite3