Created login class and GUI