removes outdated export
added new login logic