added lots of devise stuff, doesnt work yet