adds devise for authentication
Updated tests for devise