Implemented devise and basic todo functions