feature login bug fix