Initial login module and db file