improving LoginActivity