Added get api method for user