login bug fixed. fixes #71