Check access for user when updating account

Task #409