Adding auth logic to AccountCtrl