set up basic login logout with sqlite3