Changed login class and removed some files