more bug fixing. Login done by account username/password