fixing bad login