resolving login issues