resolve login issue