<header>
   <div class="action"><a ui-sref="play.room" title="Back to room"><i class="fa fa-cube fa-fw"></i></a></div>
   <div class="title"><a><i class="fa fa-user fa-fw"></i> Edit profile</a></div>
</header>
<div class="viewport">
  <div class="container">
      <div class="padded row">
        <div class="one-half column">
          <a class="button u-full-width" ng-click="play.restart()"><i class="fa fa-undo"></i> Restart</a>
        </div>
        <div class="one-half column">
          <a class="button u-full-width" ng-click="play.logout()"><i class="fa fa-sign-out"></i> Log out</a>
        </div>
      </div>
      <div class="padded row">
          <h4>Update profile</h4>
      </div>
      <form name="play.profileForm" ng-submit="play.updateProfile()" >
        <profile-core user="play.user" form="play.profileForm" ></profile-core>
        <div class="row">
          <div class="center">
            <button type="submit" id="submit"><i class="fa fa-floppy-o"></i> Done</button>
          </div>
        </div>
      </form>
  </div>
</div>

<header>
   <div class="action"><a ui-sref="play.room" title="Back to room"><i class="fa fa-cube fa-fw"></i></a></div>
   <div class="title"><a><i class="fa fa-user fa-fw"></i> Edit profile</a></div>
</header>
<div class="viewport">
  <div class="container">
      <div class="padded row">
        <div class="one-half column">
          <a class="button u-full-width" ng-click="play.restart()"><i class="fa fa-undo"></i> Restart</a>
        </div>
        <div class="one-half column">
          <a class="button u-full-width" ng-click="play.logout()"><i class="fa fa-sign-out"></i> Log out</a>
        </div>
      </div>
      <div class="padded row">
          <h4>Update profile</h4>
      </div>
      <form name="play.profileForm" ng-submit="play.updateProfile()" >
        <profile-core user="play.user" form="play.profileForm" ></profile-core>
        <div class="row">
          <div class="center">
            <button type="submit" id="submit"><i class="fa fa-floppy-o"></i> Done</button>
          </div>
        </div>
        <div class="padded row">
	        <div class="one-half column">
	          <label for="id">Id</label><div id="id">{{play.user.profile.id}}</div>
	        </div>
	        <div class="one-half column">
	          <label for="apikey">ApiKey</label><div id="apikey">{{play.user.profile.apiKey}}</div>
	        </div>
	      </div>
      </form>      
     
  </div>
</div>

Add display of apiKey & id to the player info panel.
Add display of apiKey & id to the player info panel.

Still requires a user to log out and log back in at least once.. fixing
that requires redoing the player rest api to return a full player from
create instead of just a 200 ok.
