get user details from backend