fix login bug - error when inputed none existent user