added Database lib and Login_Model