started to add new functions for new user db for storing userid and password