big change

1, use devise;
2, tweak model exercise;
3, modify exercises/index.