myself LoginModule for Database Connection