ended up using devise from github rails4 branch