User data and permission data

Adding user data and permission data to xml result when user
authenticates successfully.