generate devise stuff in template

Signed-off-by: Zeljko <zeljko@zwr.fi>
remove unused code

My heart breaks but this already is implemented by Thor.

Signed-off-by: Zeljko <zeljko@zwr.fi>