updated login, removed unused files