Api for user deatil and fix for login api