added login
database now working with digesters