added logic for unlock user