Add conditional check for existance of :failed_attempts on user model in account edit slim