added login controller test