User login in db access working