Remove dummy main class and fix password field and authentication