added devise login, closing [76244030]
added tests for devise, closing [77931148]