Browser back button behavious in CS

Desription of the desired behaviour of the 'back' button of the browser in CS :

Author :


 * Lobby page : the back button makes the author log off from the game [OK]
 * Choose the card page:
 * before the card is picked : goes back to the lobby
 * once the card is picked ('continue with this card' message) : same behaviour as the cancel button
 * Write the story page :
 * goes back to the 'choose a card' page
 * Invite friends page :
 * goes back to the 'write the story' page
 * Your friends play page :
 * goes back to the lobby
 * Vote phase page :
 * goes back to the lobby
 * Complete page :
 * goes back to the lobby

Player :


 * Lobby page : the back button makes the player log off from the game [OK]
 * Pick a card page:
 * before the card is picked : goes back to the lobby
 * once the card is picked ('continue with this card' message) : same behaviour as the cancel button
 * Wait for others to choose page :
 * goes back to the 'pick a card' page (like the 'i've changed my mind' behaviour)
 * Vote phase page :
 * before the card is picked : goes back to the lobby
 * once the card is picked ('continue with this card' message) : same behaviour as the cancel button
 * Wait for others to vote page :
 * goes back to the 'vote phase' page (like the 'i've changed my mind' behaviour)
 * Complete page :
 * goes back to the lobby