refactors account controller test and account model for authentication and confirmation
deletes commented out line