created LoginActivity and MainActivity