added devise login, database relationships, cleaned up some HTML