rivets.js
switch login/register with rivets