Implemented local login/registration system

Using SQLiteDB and session/db handling classes