login page

fixed some periods missing in dbinterface and
tried to validate login but can not find function in dbinterface when
included