Two factor authentication done, just need to fix up templates