Add devise as an authentication system

@kenyonj @georgetmayorga @liantics
trailing space on an erb `if` statement?