Add Account.start_new_session
Remove unused lines and replace magic numbers