Adding devise for authentication and using postgres database