Done some stuff on login class.