removed superfluous method login