User internal api

user internal api basic implementation done