added a login dialog, starting on package managing