General code abstration and organization.
Funcionalities implemented: login/logout, insert new items.