rails4 Todo application with Devise