Little change on LoginActivity for better testing